#ifndef TOTALCONTROL_H
#define TOTALCONTROL_H
#include<QGraphicsScene>
#include<QList>
#include"smallenemy.h"
#include"followsmallenemy.h"
#include"bigenemy.h"
class TotalControl
{
public:
    TotalControl(QGraphicsScene *m_scene);
    void CreateSmallEnemy(int type);
    void CreateFollowEnemy(int type);
    void EnemyFollow(float Keyx,float Keyy);
    void CreateBigEnemy(int type);

    QList<SmallEnemy*> SmallEnemyList;
    QList<FollowSmallEnemy*> FollowEnemyList;
    QList<BigEnemy*> BigEnemyList;
private:
    QGraphicsScene *scene;
    SmallEnemy *smallEnemy;//用来`暂存
    FollowSmallEnemy *followEnemy;
    BigEnemy* bigEnemy;
};

#endif // TOTALCONTROL_H
